#ifndef __LSLPRJ_UNITS_H__
  #include <Units.h>
#endif



#define SIMULATE_MODE       0

//--alarm ID
#DEFINE  ALARM_OFFSET       1000

#define   X_Alarm_HwError                (ALARM_OFFSET + 0)
#define   X_Alarm_SwMinError            (ALARM_OFFSET + 1)
#define   X_Alarm_SwMaxError       (ALARM_OFFSET + 2)
#define   X_Alarm_ReferenceError             (ALARM_OFFSET + 3)
#define   X_Alarm_SDDError             (ALARM_OFFSET + 4)

#define   Y_Alarm_HwError                (ALARM_OFFSET + 5)
#define   Y_Alarm_SwMinError            (ALARM_OFFSET + 6)
#define   Y_Alarm_SwMaxError       (ALARM_OFFSET + 7)
#define   Y_Alarm_ReferenceError             (ALARM_OFFSET + 8)
#define   Y_Alarm_SDDError             (ALARM_OFFSET + 9)

#define   Z_Alarm_HwError                (ALARM_OFFSET + 10)
#define   Z_Alarm_SwMinError            (ALARM_OFFSET + 11)
#define   Z_Alarm_SwMaxError       (ALARM_OFFSET + 12)
#define   Z_Alarm_ReferenceError             (ALARM_OFFSET + 13)
#define   Z_Alarm_SDDError             (ALARM_OFFSET + 14)


#define   Load_Emergency             (ALARM_OFFSET + 15)




